using System;
using System.Globalization;
namespace Microsoft.Phone.Controls
{
	public class TimePicker : DateTimePickerBase
	{
		private string _fallbackValueStringFormat;
		protected override string ValueStringFormatFallback
		{
			get
			{
				if (this._fallbackValueStringFormat == null)
				{
					string text = CultureInfo.get_CurrentCulture().get_DateTimeFormat().get_LongTimePattern().Replace(":ss", "");
					this._fallbackValueStringFormat = "{0:" + text + "}";
				}
				return this._fallbackValueStringFormat;
			}
		}
		public TimePicker()
		{
			base.set_DefaultStyleKey(typeof(TimePicker));
			base.Value = new DateTime?(DateTime.get_Now());
		}
	}
}
